Upgrade to PyQt6#46
Merged
ThomasAkam merged 2 commits intopyControl:devfrom Sep 29, 2022
Merged
Conversation
Collaborator
|
Thanks Andy. We'll have to be careful going forward to test against pyqt5 and 6 following changes to the GUI, but I guess it's worth it to maintain cross platform compatibility. |
alustig3
added a commit
to alustig3/pyControl
that referenced
this pull request
Oct 6, 2022
some additional changes that were missed in pyControl#46
IsabelDAlessandro
pushed a commit
to IsabelDAlessandro/pycontrol_code
that referenced
this pull request
Jan 21, 2026
* Upgrade to PyQt6 * more QtGUI to QtWidgets conversions
IsabelDAlessandro
pushed a commit
to IsabelDAlessandro/pycontrol_code
that referenced
this pull request
Jan 21, 2026
some additional changes that were missed in pyControl#46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was unable to run pyControl on an M1 mac-mini. There was a lack of support for installing PyQt5 on Apple silicon.
There is support for PyQt6 on Apple silicon, but I needed to make these code changes for pyControl to work.
Here is a link to some information about the differences between PyQt5 and PyQt6: https://www.pythonguis.com/faq/pyqt5-vs-pyqt6/
The changes should be backwards compatible with PyQt5. I tested on my previous computer that only has PyQt5 and everything worked as far as I could tell. All Qt classes are being imported from PyQtGraph, and PyQtGraph takes care of automatically loading PyQt5, PyQt6, PySide2 or PySide6 from your computer.